package com.ruoyi.project.mahjong.mapper;

import java.util.List;
import com.ruoyi.project.mahjong.domain.TSettlement;

/**
 * 结算列Mapper接口
 * 
 * @author ruoyi
 * @date 2023-07-18
 */
public interface TSettlementMapper 
{
    /**
     * 查询结算列
     * 
     * @param id 结算列ID
     * @return 结算列
     */
    public TSettlement selectTSettlementById(Long id);

    /**
     * 查询结算列列表
     * 
     * @param tSettlement 结算列
     * @return 结算列集合
     */
    public List<TSettlement> selectTSettlementList(TSettlement tSettlement);

    /**
     * 新增结算列
     * 
     * @param tSettlement 结算列
     * @return 结果
     */
    public int insertTSettlement(TSettlement tSettlement);

    /**
     * 修改结算列
     * 
     * @param tSettlement 结算列
     * @return 结果
     */
    public int updateTSettlement(TSettlement tSettlement);

    /**
     * 删除结算列
     * 
     * @param id 结算列ID
     * @return 结果
     */
    public int deleteTSettlementById(Long id);

    /**
     * 批量删除结算列
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteTSettlementByIds(Long[] ids);
}
